package com.bjc.service.impl;

import lombok.extern.slf4j.Slf4j;

/**
 * @program: spring-cloud-alibaba
 * @description: OrderServiceImpl3对应的fallback处理的类
 * @author: bjc
 * @create: 2021-08-01 22:18
 */
@Slf4j
public class OrderServiceImpl3FallbackClass {

    //注意这里必须使用static修饰方法
    public static String fallback(Throwable throwable) {
        log.error("触发了Throwable,内容为{}", throwable);
        return "Throwable";
    }
}
